package com.qidian.mes.produce.service;

import com.qidian.common.pojo.MESResult;
import com.qidian.mes.pojo.Composition;
import com.qidian.mes.pojo.Material;

/**
 * @Author 陈俊成
 * @Company ccc
 * @Description
 * @Time 2024/10/23 9:17
 */
public interface MaterialService {
    MESResult queryAllByRelId(Material material,int craftId, int page, int limit);

    MESResult addMaterial(int materialRelId,int craftRelId);

    MESResult primaryMaterial(Material material);

    MESResult getPrimary(int materialId,int craftId);

    MESResult getAll();
}
